<div id="main">
    <%= render :partial => "site/partials/breadcrumbs", :locals => { :current_page => "Select style" }%>
    <h1>Select style</h1>
    <%= start_form_tag({:controller => 'style', :action => 'style_update', :site_directory => @site.directory}) %>
        <% for style in @styles %>
            <%= radio_button 'site', 'style_id', style.id %>
            <%= image_tag "/images/styles/#{style.filename}.gif"%>
            <%= style.title %><br>
        <% end %>
        <%= submit_tag 'Select style' %>
    <%= end_form_tag %>
</div>